<template>
	<view class="whole-container">
		<u-navbar bgColor="#000000" autoBack height="90" placeholder fixed>
			<view class="u-nav-slot" slot="center">
				<!-- 正文内容 -->
				<text style="font-size: 36rpx;font-weight: bold;">全身</text>
			</view>
		</u-navbar>
		<view class="whole-content">
			<view class="whole-item" v-for="(item,index) in list" :key="index">
				<image :src="item.img" mode=""></image>
				<view class="item-text">
					<view style="font-size: 30rpx;margin-bottom: 10rpx;">{{item.name}}</view>
					<view style="font-size: 18rpx;">{{item.desc}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						img:"../../static/imgs/whole1.png",
						name:"大体重.全身燃脂计划",
						desc:"大体重定制"
					},
					{
						img:"../../static/imgs/whole2.png",
						name:"21天健康体质增强计划",
						desc:"3周.初级.保持健康"
					},
					{
						img:"../../static/imgs/whole3.png",
						name:"学生专属.瘦全身计划",
						desc:"学上专属，简单易学习"
					}
				]
			};
		}
	}
</script>

<style lang="scss" scoped>
.whole-container{
	height: 100%;
	overflow-y: auto;
	background-color: #000000;
	padding: 0 32rpx;
	.whole-content{
		.whole-item{
			height: 239rpx;
			position: relative;
			filter: grayscale(100%);
			margin-bottom: 40rpx;
			image{
				width: 100%;
				height: 239rpx;
			}
			.item-text{
				position: absolute;
				top: 99rpx;
				left: 20rpx;
			}
		}
	}
}
</style>
